package org.suk.dp.state;

import java.text.MessageFormat;

/**
 * Description: 睡眠状态<br/>
 * @version V1.0  2017/6/21 11:28  by 石冬冬(dongdong.shi@ucarinc.com) - Heil Hitler
 */
public class SleepingState extends State {
    @Override
    void writeProgram(Work work) {
        System.out.println(MessageFormat.format("当前时间：{0}点 不行了，睡着了。",work.getHour()));
    }
}
